package com.csii.adhoc.dblink;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @Auther: panchuanjiang
 * @Date: 2021/01/12/9:30
 * @Description: 数据库连接对应实体类 对应表  T_MGN_DB
 */
@Data
@Accessors(chain=true)
public class DbLinkPo {
    private String connId;

    private String name;

    private String abbrName;

    private String ip;

    private String host;

    private BigDecimal port;

    private String dbname;

    private String type;

    private String username;

    private String passwd;

    private String owner;

    private String version;

    private String driverClass;
    //0-oracle,1-db2,2-mysql,3-Goldilocks
    private String dbtype;

    private String decode;

    private String url;

    private String initialSize;

    private String minidle;

    private String maxActive;

    private String maxWait;

    private String timeRunsMillis;

    private String minTimeMillis;

    private String validationQuery;

    private String testWhileIdle;

    private String testOnBorrow;

    private String testOnReturn;

    private String poolPreparedStatements;

    private String maxConnectionSize;

    private String filters;

    private String createdBy;

    private String createdDt;

    private String updatedBy;

    private String updatedDt;
}